import * as m1 from './module.js'
import {PI, sum} from './module.js'

console.log(`module.js中的: PI = ${m1.PI}`)
console.log(`module.js中的: sum = ${m1.sum([1,2,3])}`)
console.log(`module.js中的: person.name = ${new m1.Person('zhangsan', 3).name}`)

console.log(`module.js中的: PI = ${PI}`)
console.log(`module.js中的: sum = ${sum([1,2,3])}`)